ShortPixel\ShortPixelLogger\ShortPixelLogger B

Total Complexity 84
Dependencies 2
Dependents 48
Total lines 468
Lines of code 305
Logical lines of code 171
Comment lines 48
Methods 29
Properties 17

Methods 29

Method Rating Maintainability Complexity Lines of code
__construct()
A
45 14 41
getWriteFile()
A
48 9 36
addLog()
A
50 9 28
formatLine()
A
51 9 25
initView()
S
57 6 14
write()
S
55 5 18
monitorHooks()
S
62 4 10
formatBytes()
S
59 3 14
loadView()
S
58 2 15
addMemoryLog()
S
58 2 15
getInstance()
S
69 2 7
getEnv()
S
67 2 9
setLogPath()
S
76 1 4
setLogLevel()
S
81 1 3
logHook()
S
71 1 5
unitToInt()
S
71 1 5
addError()
S
72 1 5
addWarn()
S
72 1 5
addWarning()
S
79 1 3
addInfo()
S
72 1 5
addDebug()
S
72 1 5
addTrace()
S
72 1 5
addMemory()
S
75 1 4
addTemp()
S
79 1 3
logLevel()
S
73 1 5
getLogLevel()
S
75 1 4
isManualDebug()
S
75 1 4
getLogPath()
S
75 1 4
debugIsActive()
S
75 1 4